package com.fr.data.util.function;

public class DataFunctionUtils
{
  public static String getDataFunctionStr(DataFunction paramDataFunction)
  {
    if (paramDataFunction instanceof SumFunction)
      return "SumOf";
    if (paramDataFunction instanceof AverageFunction)
      return "AvgOf";
    if (paramDataFunction instanceof CountFunction)
      return "CountOf";
    if (paramDataFunction instanceof DateFunction)
      return "DateOf";
    if (paramDataFunction instanceof MaxFunction)
      return "MaxOf";
    if (paramDataFunction instanceof MinFunction)
      return "MinOf";
    return "NoneOf";
  }
}